﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Principal.Master" AutoEventWireup="true" CodeBehind="ConstanciaMatrimonio.aspx.cs" Inherits="SIP.ConstanciaMatrimonio" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register Src="ctrlFecha.ascx" TagName="ctrlFecha" TagPrefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
  <link href="App_Themes/TabStyle.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>

<asp:Table ID="Table2" runat="server" CssClass="Tabla" Width="500" HorizontalAlign="Justify">
        <asp:TableHeaderRow CssClass="TablaHeader">
            <asp:TableHeaderCell ColumnSpan="2">
                Registro Matrimonio 
            </asp:TableHeaderCell>
        </asp:TableHeaderRow>
</asp:Table>

<asp:Table ID="Table4" runat="server" CssClass="Tabla" Width="500"  HorizontalAlign="Justify" BorderWidth="0px">
   
    <asp:TableRow Height="22px">
            <asp:TableCell>
            </asp:TableCell><asp:TableCell>
            </asp:TableCell></asp:TableRow>

    <asp:TableRow>
         <asp:TableCell>Num.Libro:</asp:TableCell><asp:TableCell>
                <asp:TextBox runat="server" ID="txtLibro" TextMode="SingleLine"  Enabled="False" Width="50" />
            </asp:TableCell><asp:TableCell>Num.Folio:</asp:TableCell><asp:TableCell>
                <asp:TextBox runat="server" ID="txtFolio" TextMode="SingleLine"  Enabled="False"  Width="50" />
            </asp:TableCell><asp:TableCell>Num.Asiento:</asp:TableCell><asp:TableCell>
                <asp:TextBox runat="server" ID="txtAsiento" TextMode="SingleLine"  Enabled="False"   Width="50" />
            </asp:TableCell></asp:TableRow></asp:Table><asp:Table ID="Table5" runat="server" CssClass="Tabla" Width="500px" HorizontalAlign="Justify" BorderWidth="0">
<%--    <asp:TableRow>
            <asp:TableCell>
            </asp:TableCell><asp:TableCell>
            </asp:TableCell>
    </asp:TableRow>--%>
    <asp:TableRow>
        <asp:TableCell>Fecha Matrimonio:</asp:TableCell><asp:TableCell>
        <uc1:ctrlFecha ID="dtFecha" runat="server" />
        </asp:TableCell><asp:TableCell>Sacerdote:</asp:TableCell><asp:TableCell>
            <asp:DropDownList ID="ddlSacerdote" runat="server" Width="200px">
            </asp:DropDownList>
        </asp:TableCell></asp:TableRow><asp:TableRow></asp:TableRow>
    <asp:TableRow></asp:TableRow>
 </asp:Table>

<br />
<asp:tabcontainer ID="TabContainer1"   
    runat="server"   
    CssClass="ajax__myTab"  
     Height="238px" width="500px" >  
    <asp:TabPanel ID="tabMatrimonio" runat="server">  
        <HeaderTemplate>  
            Información Matrimonio</HeaderTemplate><ContentTemplate>  

 <asp:Table ID="Table1" runat="server" CssClass="Tabla" Width="450" HorizontalAlign="Left">
        <asp:TableHeaderRow CssClass="TablaHeader">
            <asp:TableHeaderCell ColumnSpan="1">
                Datos Esposa
            </asp:TableHeaderCell></asp:TableHeaderRow></asp:Table><br /><br /><asp:Table ID="Table3" runat="server" CssClass="Tabla" Width="450" HorizontalAlign="Left">
          <asp:TableRow ID="TableRow1" runat="server">
                  <asp:TableCell ID="TableCell1" runat="server">Tipo Identificación</asp:TableCell><asp:TableCell ID="TableCell2" runat="server">
                        <asp:DropDownList ID="ddlTipoIdentificacionEsposa" runat="server" CssClass="textEntry"  Width="200px"  onselectedindexchanged="ddlTipoIdentificacionEsposa_SelectedIndexChanged" AutoPostBack="True"  ></asp:DropDownList>
                  </asp:TableCell></asp:TableRow><asp:TableRow ID="TableRow2" runat="server">
                  <asp:TableCell ID="TableCell3" runat="server">Identificación</asp:TableCell><asp:TableCell ID="TableCell4" runat="server">
                         <asp:TextBox ID="mskCedulaEsposa" runat="server" Width="105px"></asp:TextBox> 
                         <asp:MaskedEditExtender ID="Cedula" runat="server" MaskType="Number" TargetControlID="mskCedulaEsposa" Mask="9999999999999999" AutoComplete="False" 
                                CultureAMPMPlaceholder="" CultureCurrencySymbolPlaceholder="" 
                                CultureDateFormat="" CultureDatePlaceholder="" CultureDecimalPlaceholder="" 
                                CultureThousandsPlaceholder="" CultureTimePlaceholder="" Enabled="True">
                         </asp:MaskedEditExtender>
                         <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/Images/ver.gif"
                                            ValidationGroup="v1" TabIndex="2"  OnClick="BuscarEsposa" />
                 </asp:TableCell></asp:TableRow><asp:TableRow ID="TableRow3" runat="server">
                 <asp:TableCell ID="TableCell5" runat="server">Nombre Completo</asp:TableCell><asp:TableCell ID="TableCell6" runat="server">
                        <asp:TextBox runat="server" ID="txtNombreEsposa" Width="320px" Enabled="False" />
                 </asp:TableCell></asp:TableRow><asp:TableRow ID="TableRow4" runat="server"></asp:TableRow>
  </asp:Table>  
   
 <asp:Table ID="Table6" runat="server" CssClass="Tabla" Width="450" HorizontalAlign="Left">
        <asp:TableHeaderRow CssClass="TablaHeader">
            <asp:TableHeaderCell ColumnSpan="1">
                Datos Esposo
            </asp:TableHeaderCell></asp:TableHeaderRow></asp:Table><br /><br /><asp:Table ID="Table7" runat="server" CssClass="Tabla" Width="450" HorizontalAlign="Left">
          <asp:TableRow ID="TableRow5" runat="server">
                        <asp:TableCell ID="TableCell7" runat="server">Tipo Identificación</asp:TableCell><asp:TableCell ID="TableCell8" runat="server">
                        <asp:DropDownList ID="ddlTipoIdentificacionEsposo" runat="server" CssClass="textEntry" 
                            Width="200px"  onselectedindexchanged="ddlTipoIdentificacionEsposo_SelectedIndexChanged" AutoPostBack="True"  ></asp:DropDownList>
                         </asp:TableCell></asp:TableRow><asp:TableRow ID="TableRow6" runat="server">
                        <asp:TableCell ID="TableCell9" runat="server">Identificación</asp:TableCell><asp:TableCell ID="TableCell10" runat="server">
                            <asp:TextBox ID="mskCedulaEsposo" runat="server" Width="105px"></asp:TextBox> 
                            <asp:MaskedEditExtender ID="CedulaEsposo" runat="server" MaskType="Number" TargetControlID="mskCedulaEsposo" Mask="9999999999999999" AutoComplete="False" 
                                CultureAMPMPlaceholder="" CultureCurrencySymbolPlaceholder="" 
                                CultureDateFormat="" CultureDatePlaceholder="" CultureDecimalPlaceholder="" 
                                CultureThousandsPlaceholder="" CultureTimePlaceholder="" Enabled="True">
                            </asp:MaskedEditExtender>
                            <asp:ImageButton ID="ImageButton2" runat="server" ImageUrl="~/Images/ver.gif"
                                            ValidationGroup="v1" TabIndex="2" OnClick="BuscarEsposo" />
                        </asp:TableCell></asp:TableRow><asp:TableRow ID="TableRow7" runat="server">
                        <asp:TableCell ID="TableCell11" runat="server">Nombre Completo</asp:TableCell><asp:TableCell ID="TableCell12" runat="server">
                        <asp:TextBox runat="server" ID="txtNombreEsposo" Width="320px" Enabled="False" />
                        </asp:TableCell></asp:TableRow><asp:TableRow ID="TableRow8" runat="server"></asp:TableRow>
</asp:Table>   

</p></ContentTemplate></asp:TabPanel>
   <asp:TabPanel ID="TabPadrinos" runat="server">  
      <HeaderTemplate>  
            Información Padrinos</HeaderTemplate><ContentTemplate>  
 <asp:Table ID="Table8" runat="server" CssClass="Tabla" Width="450" HorizontalAlign="Left">
        <asp:TableHeaderRow CssClass="TablaHeader">
            <asp:TableHeaderCell ColumnSpan="1">
                Datos Madrina
            </asp:TableHeaderCell></asp:TableHeaderRow></asp:Table><br /><br /><asp:Table ID="Table9" runat="server" CssClass="Tabla" Width="450" HorizontalAlign="Left">
          <asp:TableRow ID="TableRow9" runat="server">
                  <asp:TableCell ID="TableCell13" runat="server">Tipo Identificación</asp:TableCell><asp:TableCell ID="TableCell14" runat="server">
                        <asp:DropDownList ID="ddlTipoIdentificacionMadrina" runat="server" CssClass="textEntry"  onselectedindexchanged="ddlTipoIdentificacionMadrina_SelectedIndexChanged" AutoPostBack="True" ></asp:DropDownList>
                  </asp:TableCell></asp:TableRow><asp:TableRow ID="TableRow10" runat="server">
                  <asp:TableCell ID="TableCell15" runat="server">Identificación</asp:TableCell><asp:TableCell ID="TableCell16" runat="server">
                         <asp:TextBox ID="mskCedulaMadrina" runat="server" Width="105px"></asp:TextBox> 
                         <asp:MaskedEditExtender ID="CedulaMadrina" runat="server" MaskType="Number" TargetControlID="mskCedulaMadrina" Mask="9999999999999999" AutoComplete="False" 
                                CultureAMPMPlaceholder="" CultureCurrencySymbolPlaceholder="" 
                                CultureDateFormat="" CultureDatePlaceholder="" CultureDecimalPlaceholder="" 
                                CultureThousandsPlaceholder="" CultureTimePlaceholder="" Enabled="True">
                         </asp:MaskedEditExtender>
                         <asp:ImageButton ID="ImageButton3" runat="server" ImageUrl="~/Images/ver.gif"
                                            ValidationGroup="v1" TabIndex="2"  OnClick="BuscarMadrina"  />
                 </asp:TableCell></asp:TableRow><asp:TableRow ID="TableRow11" runat="server">
                 <asp:TableCell ID="TableCell17" runat="server">Nombre Completo</asp:TableCell><asp:TableCell ID="TableCell18" runat="server">
                        <asp:TextBox runat="server" ID="txtNombreMadrina" Width="320px" Enabled="False" />
                 </asp:TableCell></asp:TableRow><asp:TableRow ID="TableRow12" runat="server"></asp:TableRow>
  </asp:Table>  
   
 <asp:Table ID="Table10" runat="server" CssClass="Tabla" Width="450" HorizontalAlign="Left">
        <asp:TableHeaderRow CssClass="TablaHeader">
            <asp:TableHeaderCell ColumnSpan="1">
                Datos Padrino
            </asp:TableHeaderCell></asp:TableHeaderRow></asp:Table><br /><br /><asp:Table ID="Table11" runat="server" CssClass="Tabla" Width="450" HorizontalAlign="Left">
        <asp:TableRow ID="TableRow13" runat="server">
                        <asp:TableCell ID="TableCell19" runat="server">Tipo Identificación</asp:TableCell><asp:TableCell ID="TableCell20" runat="server">
                        <asp:DropDownList ID="ddlTipoIdentificacionPadrino" runat="server" CssClass="textEntry" 
                            Width="250px"  onselectedindexchanged="ddlTipoIdentificacionPadrino_SelectedIndexChanged" AutoPostBack="True"   ></asp:DropDownList>
                         </asp:TableCell></asp:TableRow><asp:TableRow ID="TableRow14" runat="server">
                        <asp:TableCell ID="TableCell21" runat="server">Identificación</asp:TableCell><asp:TableCell ID="TableCell22" runat="server">
                            <asp:TextBox ID="mskCedulaPadrino" runat="server" Width="105px"></asp:TextBox> 
                            <asp:MaskedEditExtender ID="CedulaPadrino" runat="server" MaskType="Number" TargetControlID="mskCedulaPadrino" Mask="9999999999999999" AutoComplete="False" 
                                CultureAMPMPlaceholder="" CultureCurrencySymbolPlaceholder="" 
                                CultureDateFormat="" CultureDatePlaceholder="" CultureDecimalPlaceholder="" 
                                CultureThousandsPlaceholder="" CultureTimePlaceholder="" Enabled="True">
                            </asp:MaskedEditExtender>
                            <asp:ImageButton ID="ImageButton4" runat="server" ImageUrl="~/Images/ver.gif"
                                            ValidationGroup="v1" TabIndex="2" OnClick="BuscarPadrino"  />
                        </asp:TableCell></asp:TableRow><asp:TableRow ID="TableRow15" runat="server">
                        <asp:TableCell ID="TableCell23" runat="server">Nombre Completo</asp:TableCell><asp:TableCell ID="TableCell24" runat="server">
                        <asp:TextBox runat="server" ID="txtNombrePadrino" Width="320px" Enabled="False" />
                        </asp:TableCell></asp:TableRow><asp:TableRow ID="TableRow16" runat="server"></asp:TableRow>
</asp:Table>   

</ContentTemplate></asp:TabPanel></asp:tabcontainer>

<asp:Table ID="Table12" runat="server" CssClass="Tabla" Width="500" HorizontalAlign="Justify">
        <asp:TableRow>
            <asp:TableCell></asp:TableCell><asp:TableCell></asp:TableCell><asp:TableCell></asp:TableCell><asp:TableCell></asp:TableCell><asp:TableCell></asp:TableCell><asp:TableCell></asp:TableCell><asp:TableCell></asp:TableCell><asp:TableCell></asp:TableCell><asp:TableCell></asp:TableCell><asp:TableCell></asp:TableCell><asp:TableCell></asp:TableCell><asp:TableCell></asp:TableCell><asp:TableCell></asp:TableCell><asp:TableCell></asp:TableCell><asp:TableCell></asp:TableCell><asp:TableCell></asp:TableCell><asp:TableCell></asp:TableCell><asp:TableCell></asp:TableCell><asp:TableCell></asp:TableCell><asp:TableCell></asp:TableCell><asp:TableCell>
                <asp:ImageButton ID="Crear" runat="server" ImageUrl="~/Images/btn_salvar.gif"  OnClick="Registrar" />
                &nbsp;&nbsp;&nbsp;
                <asp:ImageButton ID="btnCancelar" runat="server" ImageUrl="~/Images/btn_cancelar.gif"  OnClick="Cancelar" />
            </asp:TableCell></asp:TableRow><asp:TableFooterRow Height="5">
</asp:TableFooterRow></asp:Table>

</asp:Content>